package com.fr.funglisoftproduction.flanders;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebSettings.RenderPriority;
import android.webkit.WebView;

public class Video extends Activity {	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        setContentView(R.layout.splashscreen);
        
        WebView video = (WebView)findViewById(R.id.video);
        
        video.getSettings().setPluginsEnabled(true);
        video.getSettings().setJavaScriptEnabled(true);
        video.getSettings().setAllowFileAccess(true);
        video.getSettings().setRenderPriority(RenderPriority.HIGH);
        video.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
        video.loadUrl("http://www.youtube.com/watch?v=HqKujjIWH-s");
    }
}